<div class="am-panel am-panel-default">
  <div class="am-panel-hd" style="background-color: #e5e8e1;"><h3 class="mh-margin-none am-text-truncate">
    {{::listTitle}}</h3></div>
  <div class="am-panel-bd mh-padding-none">
    <ul class="am-list mh-margin-none">
      <!-- 默认的布局-->
      <li class="am-g" ng-repeat="c in repeat" ng-show="listType==='default'">
        <a class="mh-padding-none" ng-href="{{linkUrl}}{{::c.id}}?name={{::c.name}}">
          <div class="am-u-sm-10 am-padding-bottom-xs">
            <h3 class="am-margin-bottom-xs am-text-truncate">{{::c.name}}{{::c.username}}</h3>
            <h4 class="mh-margin-none mh-text-lightcolor">{{::c.regtime.time | date:'yyyy-MM-dd HH:mm'}}</h4>
          </div>
          <span class="am-u-sm-2 mh-text-lightcolor am-icon-angle-right am-icon-sm am-text-right"
                style="margin:1rem 0;"></span>
        </a>
      </li>
      <!-- 有金额的布局-->
      <li class="am-g" ng-repeat="c in repeat" ng-hide="listType==='default'">
        <a class="mh-padding-none" ng-href="{{linkUrl}}{{::c.id}}">
          <div class="am-u-sm-10 am-padding-bottom-xs">
            <h3 class="am-margin-bottom-xs am-cf">
              <span class="am-fl am-text-truncate">{{::c.name}}{{::c.username}}</span>
              <span class="am-fr mh-text-lightcolor">{{::c.regtime.time | date:'yyyy-MM-dd HH:mm'}}</span>
            </h3>
            <h4 class="mh-margin-none am-cf">
              <span class="am-fl am-text-truncate am-text-danger">{{::c.amount | currency:'￥'}}</span>
              <span class="am-fr mh-text-lightcolor">{{::c.invoicetype}}</span>
            </h4>
          </div>
          <!-- 状态为1表示可以审批-->
          <span ng-show="c.status===1" class="am-u-sm-2 mh-text-lightcolor am-icon-angle-right am-icon-sm am-text-right"
                style="margin:1rem 0;"></span>
          <span class="am-u-sm-2 am-text-right am-text-danger" ng-show="c.status===2">退回</span>
          <span class="am-u-sm-2 am-text-right am-text-success" ng-show="c.status===3">通过</span>
        </a>
      </li>
      <div class="am-block am-padding-horizontal-sm" ng-show="hasNext">
        <button class="am-btn am-btn-block am-btn-sm am-margin-vertical-sm am-btn-primary am-radius mh-lightgreen"
                ng-click="nextPage()">加载更多
        </button>
      </div>
    </ul>
  </div>
</div>
